home *** CD-ROM | disk | FTP | other *** search
/ Chip 2004 April / CMCD0404.ISO / Software / Shareware / Programare / sharp / wwwSharp_setup.exe / {app} / Examples / TreeView / index.hta next >
Text File  |  2003-12-04  |  1KB  |  34 lines

  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
  2. <HTML>
  3. <HEAD>
  4.     <TITLE>www-Sharp.ClrHost Control example</TITLE>
  5.     <META name="GENERATOR" content="MSHTML 6.00.2800.1264">
  6.     <META http-equiv="MSThemeCompatible" content="Yes">
  7. <SCRIPT language="JScript">
  8. function OnBtnFillClick()
  9. {
  10.     TreeView.OutputControl = pOutput;
  11.     TreeView.FillTreeView();
  12. }
  13. </SCRIPT>
  14. </HEAD>
  15. <BODY>
  16.     <!-- ClrControl object. AssemblyName and TypeName parameters are required.
  17.         AssemblyName - preferrably should be full assembly name (with version, key, culture),
  18.         TypeName - full type name (with namespace).
  19.         Other parameters will be set to correspond object public properties by
  20.         .Net framework.
  21.         -->
  22.     <OBJECT id="TreeView" height="500" width="500" border="1"
  23.         classid="clsid:1D0542B3-2139-4138-B9E0-0AB5D1AF8D49">
  24.         <PARAM name="AssemblyName" value="TreeView">
  25.         <PARAM name="TypeName" value="wwwSharp.ClrHost.Examples.TreeView">
  26.         <PARAM name="BackColor" value="ivory">
  27.         <PARAM name="HotTracking" value="true">
  28.     </OBJECT>
  29.     <BR>
  30.     <BUTTON id="btnFill" onclick="OnBtnFillClick()">Fill</BUTTON>
  31.     <P id="pOutput"></P>
  32. </BODY>
  33. </HTML>
  34.